const mongoose = require('mongoose')

const schema = new mongoose.Schema({
    id: String,
    typeName: String,  //文章类型
    nums: {  //该类型文章有多少篇
        type: Number,
        default: 0
    }
})

module.exports = mongoose.model('articleType', schema)